<template>
  <div class="app">
    <Layout>
      <template #left>
        <div class="left">
          <SiteAside />
        </div>
      </template>
      <template>
        <div class="main">
          <RouterView />
        </div>
      </template>
    </Layout>
    <ToTop />
  </div>
</template>

<script>
import Layout from "@/components/Layout";
import SiteAside from "@/components/siteAside";
import ToTop from "@/components/ToTop";

export default {
  name: "App",
  components: {
    Layout,
    SiteAside,
    ToTop
  },
};
</script>

<style scoped lang='less'>
@import "~@/styles/global.less";
.app {
  .self-fill();
  .left {
    width: 250px;
    height: 100%;
  }
  .main{
    height:100vh;
  }
}
</style>